package com.yzk.auction.entity;

import java.util.Date;

/**
 * @author： lys
 * @date： 2020/8/21 20:53
 * @类名： GoodsDTO
 * @Title：
 */

public class GoodsDTO {
    private Integer goods_id;        //商品id
    private String goods_name;       //商品名称
    private Integer second_cid;      //二级分类id
    private Date end_time;           //结束时间
    private Double low_price;        //最低价钱
    private Integer auction_times;   //竞拍次数
    private Date start_time;         //开始时间
    private Double end_price;        //成交价
    private String goods_picture;    //商品图片
    private String goods_desc;       //商品描述
    private Double price_markup;     //加价幅度
    private Double appraisal_price;  //评估价
    private String second_cname;     //二级分类名
    private Integer first_cid;       //一级分类id
    private String first_cname;     //一级分类名

    public GoodsDTO() {
    }

    public GoodsDTO(Integer goods_id, String goods_name, Integer second_cid, Date end_time, Double low_price, Integer auction_times, Date start_time, Double end_price, String goods_picture, String goods_desc, Double price_markup, Double appraisal_price, String second_cname, Integer first_cid, String first_cname) {
        this.goods_id = goods_id;
        this.goods_name = goods_name;
        this.second_cid = second_cid;
        this.end_time = end_time;
        this.low_price = low_price;
        this.auction_times = auction_times;
        this.start_time = start_time;
        this.end_price = end_price;
        this.goods_picture = goods_picture;
        this.goods_desc = goods_desc;
        this.price_markup = price_markup;
        this.appraisal_price = appraisal_price;
        this.second_cname = second_cname;
        this.first_cid = first_cid;
        this.first_cname = first_cname;
    }

    public Integer getGoods_id() {
        return goods_id;
    }

    public void setGoods_id(Integer goods_id) {
        this.goods_id = goods_id;
    }

    public String getGoods_name() {
        return goods_name;
    }

    public void setGoods_name(String goods_name) {
        this.goods_name = goods_name;
    }

    public Integer getSecond_cid() {
        return second_cid;
    }

    public void setSecond_cid(Integer second_cid) {
        this.second_cid = second_cid;
    }

    public Date getEnd_time() {
        return end_time;
    }

    public void setEnd_time(Date end_time) {
        this.end_time = end_time;
    }

    public Double getLow_price() {
        return low_price;
    }

    public void setLow_price(Double low_price) {
        this.low_price = low_price;
    }

    public Integer getAuction_times() {
        return auction_times;
    }

    public void setAuction_times(Integer auction_times) {
        this.auction_times = auction_times;
    }

    public Date getStart_time() {
        return start_time;
    }

    public void setStart_time(Date start_time) {
        this.start_time = start_time;
    }

    public Double getEnd_price() {
        return end_price;
    }

    public void setEnd_price(Double end_price) {
        this.end_price = end_price;
    }

    public String getGoods_picture() {
        return goods_picture;
    }

    public void setGoods_picture(String goods_picture) {
        this.goods_picture = goods_picture;
    }

    public String getGoods_desc() {
        return goods_desc;
    }

    public void setGoods_desc(String goods_desc) {
        this.goods_desc = goods_desc;
    }

    public Double getPrice_markup() {
        return price_markup;
    }

    public void setPrice_markup(Double price_markup) {
        this.price_markup = price_markup;
    }

    public Double getAppraisal_price() {
        return appraisal_price;
    }

    public void setAppraisal_price(Double appraisal_price) {
        this.appraisal_price = appraisal_price;
    }

    public String getSecond_cname() {
        return second_cname;
    }

    public void setSecond_cname(String second_cname) {
        this.second_cname = second_cname;
    }

    public Integer getFirst_cid() {
        return first_cid;
    }

    public void setFirst_cid(Integer first_cid) {
        this.first_cid = first_cid;
    }

    public String getFirst_cname() {
        return first_cname;
    }

    public void setFirst_cname(String first_cname) {
        this.first_cname = first_cname;
    }

    @Override
    public String toString() {
        return "GoodsDTO{" +
                "goods_id=" + goods_id +
                ", goods_name='" + goods_name + '\'' +
                ", second_cid=" + second_cid +
                ", end_time=" + end_time +
                ", low_price=" + low_price +
                ", auction_times=" + auction_times +
                ", start_time=" + start_time +
                ", end_price=" + end_price +
                ", goods_picture='" + goods_picture + '\'' +
                ", goods_desc='" + goods_desc + '\'' +
                ", price_markup=" + price_markup +
                ", appraisal_price=" + appraisal_price +
                ", second_cname='" + second_cname + '\'' +
                ", first_cid=" + first_cid +
                ", first_cname='" + first_cname + '\'' +
                '}';
    }
}
